﻿using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.MaterialModel
{
    /// <summary>
    /// 赋码管理表
    /// </summary>
    [Table("tb_UniqueIdCode")]
    public class UniqueIdCode : AuditedEntity<int>, ISoftDelete
    {
        /// <summary>
        /// 条码
        /// </summary>
        public string Barcode { get; set; }
        /// <summary>
        /// 条码格式;字典
        /// </summary>
        public string Barcodestandard { get; set; }

        /// <summary>
        /// 条码类型;字典
        /// </summary>
        public string Barcodetype { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string Materialnumber { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }=true;

        /// <summary>
        /// 条码内容
        /// </summary>
        public string  Barcodecontent { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 软删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
